# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=snmpcheck
pkgver=1.9
pkgrel=9
groups=('blackarch' 'blackarch-networking' 'blackarch-recon')
pkgdesc='A free open source utility to get information via SNMP protocols.'
url='http://www.nothink.org/perl/snmpcheck/'
license=('GPL')
arch=('any')
depends=('ruby' 'ruby-snmp')
source=("http://www.nothink.org/codes/$pkgname/$pkgname-$pkgver.rb")
sha512sums=('8cbd0a6663c1d7950773045d57dcea9653336a9cd50286821243d79d95bf3d56d8e68ad48e9506a652acb27ca9203436fe2ae647ca68d7288582af994ef572e0')

package() {
  install -Dm 755 "$pkgname-$pkgver.rb" "$pkgdir/usr/bin/$pkgname-nothink"
}

